import 'package:bruno/bruno.dart';
import 'package:flutter/material.dart';

class RadarProvider extends BrnRadarChartDataProvider {
  final Map<String, List<double>> dataList1;



  final int sideCount;

  RadarProvider(this.sideCount, this.dataList1);

  @override
  int getRadarCount() {
    return 1;
  }

  @override
  BrnRadarChartStyle getRadarStyle(int radarIndex) {
    return const BrnRadarChartStyle(
      strokeColor: Colors.blue,
      strokeWidth: 1,
      areaColor: Color(0x332196F3),
      dotted: true,
      dotColor: Colors.blue,
      dotRadius: 2,
    );
  }

  @override
  List<double> getRadarValues(int radarIndex) {

    return dataList1['']!;
  }
}